package com.coffee_shop_app.common;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author isam2016
 * @since 2022-03-07
 */
@Data
public class DevDeviceInstance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品id
     */
    private String productId;

    /**
     * 其他配置
     */
    private String configuration;

    private String creatorId;

    private String creatorName;

    /**
     * 派生元数据,有的设备的属性，功能，事件可能会动态的添加
     */
    private String deriveMetadata;

    /**
     * 激活时间
     */
    private Long registryTime;

    /**
     * 所属机构ID
     */
    private String orgId;

    /**
     * 父级设备ID
     */
    private String parentId;

    /**
     * 产品名称
     */
    private String productName;

    private Long features;

    private Long createTime;

    /**
     * 设备实例名称
     */
    private String deviceName;

    /**
     * 说明
     */
    private String deviceDescribe;

//    @TableId(value = "id", type = IdType.INPUT)
//    private String id;

    /**
     * 标签
     */
    private String tag;

    private String code;

    private String type;

    private String typeAlias;

    private String chipname;

    private Date updateTime;

    private Date productTime;

    private Integer goodsId;

    private String location;

    private String packing;

    private String bom;

    private String area;

    private String line;

    private Date failureTime;

    private String udi;

    private String workShop;

    private String appsecret;
    //pcr 的秘钥状态，0 未激活 1 已经激活
    private Boolean appsecretStatus;

    private String artickNumber;

    private Boolean isBand;

    private String remark;

    private Long packageId;

    private String ordersn;
    /**
     * 客户编码
     */
    private String custom;

    private String customName;

    private Long oldsnId;

    private Boolean isWarehous;

    private String putCode;

    private String outCode;

    private String qualityCode;

//    // 设备原地址
//    @TableField(exist = false)
//    public String remoteAddress;
//
//    // 本地地址
//    @TableField(exist = false)
//    public String localAddress;


    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getConfiguration() {
        return configuration;
    }

    public void setConfiguration(String configuration) {
        this.configuration = configuration;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getDeriveMetadata() {
        return deriveMetadata;
    }

    public void setDeriveMetadata(String deriveMetadata) {
        this.deriveMetadata = deriveMetadata;
    }

    public Long getRegistryTime() {
        return registryTime;
    }

    public void setRegistryTime(Long registryTime) {
        this.registryTime = registryTime;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getFeatures() {
        return features;
    }

    public void setFeatures(Long features) {
        this.features = features;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceDescribe() {
        return deviceDescribe;
    }

    public void setDeviceDescribe(String deviceDescribe) {
        this.deviceDescribe = deviceDescribe;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeAlias() {
        return typeAlias;
    }

    public void setTypeAlias(String typeAlias) {
        this.typeAlias = typeAlias;
    }

    public String getChipname() {
        return chipname;
    }

    public void setChipname(String chipname) {
        this.chipname = chipname;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getProductTime() {
        return productTime;
    }

    public void setProductTime(Date productTime) {
        this.productTime = productTime;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getPacking() {
        return packing;
    }

    public void setPacking(String packing) {
        this.packing = packing;
    }

    public String getBom() {
        return bom;
    }

    public void setBom(String bom) {
        this.bom = bom;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getLine() {
        return line;
    }

    public void setLine(String line) {
        this.line = line;
    }

    public Date getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(Date failureTime) {
        this.failureTime = failureTime;
    }

    public String getUdi() {
        return udi;
    }

    public void setUdi(String udi) {
        this.udi = udi;
    }

    public String getWorkShop() {
        return workShop;
    }

    public void setWorkShop(String workShop) {
        this.workShop = workShop;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public Boolean getAppsecretStatus() {
        return appsecretStatus;
    }

    public void setAppsecretStatus(Boolean appsecretStatus) {
        this.appsecretStatus = appsecretStatus;
    }

    public String getArtickNumber() {
        return artickNumber;
    }

    public void setArtickNumber(String artickNumber) {
        this.artickNumber = artickNumber;
    }

    public Boolean getBand() {
        return isBand;
    }

    public void setBand(Boolean band) {
        isBand = band;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getPackageId() {
        return packageId;
    }

    public void setPackageId(Long packageId) {
        this.packageId = packageId;
    }

    public String getOrdersn() {
        return ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn;
    }

    public String getCustom() {
        return custom;
    }

    public void setCustom(String custom) {
        this.custom = custom;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public Long getOldsnId() {
        return oldsnId;
    }

    public void setOldsnId(Long oldsnId) {
        this.oldsnId = oldsnId;
    }

    public Boolean getWarehous() {
        return isWarehous;
    }

    public void setWarehous(Boolean warehous) {
        isWarehous = warehous;
    }

    public String getPutCode() {
        return putCode;
    }

    public void setPutCode(String putCode) {
        this.putCode = putCode;
    }

    public String getOutCode() {
        return outCode;
    }

    public void setOutCode(String outCode) {
        this.outCode = outCode;
    }

    public String getQualityCode() {
        return qualityCode;
    }

    public void setQualityCode(String qualityCode) {
        this.qualityCode = qualityCode;
    }
}

